<template>
  <div class="layout">
    <Navigation />
    <main class="main-content">
      <slot></slot>
    </main>
  </div>
</template>

<script setup>
import Navigation from './Navigation.vue'
</script>

<style scoped>
.layout {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

.main-content {
  flex: 1;
  padding: 20px;
  background: #fff;
  border-radius: 20px 0 0 20px;
  margin-left: 80px;
  box-shadow: -2px 0 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .main-content {
    margin-left: 60px;
    padding: 15px;
    border-radius: 15px 0 0 15px;
  }
}
</style>